package cn.schoolwow.quickflow.test.flow;

import cn.schoolwow.quickflow.domain.FlowContext;
import cn.schoolwow.quickflow.flow.BusinessFlow;

public class ExceptionFlow implements BusinessFlow {
    @Override
    public void executeBusinessFlow(FlowContext flowContext) throws Exception {
        throw new IllegalArgumentException("抛出异常");
    }

    @Override
    public String name() {
        return "异常流程";
    }
}
